<?php
/**
 * User: Eric-Nothing
 * Datetime: 2019/6/24-14:34
 */

namespace App\Connector;


use App\Connector\Shape\ShapeInterface;
use App\Connector\Volume\VolumeShapeInterface;

//遵循接口隔离原则
class Cuboid implements ShapeInterface,VolumeShapeInterface,ManageShapeInterface
{
    public function area()
    {
        // TODO: Implement area() method.
    }

    public function volume()
    {
        // TODO: Implement volume() method.
    }

    public function cal()
    {
        return $this->area() + $this->volume();
    }
}